package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy 心率数据集
 * @date 2021/08/31
 * @description
 */
@ApiModel(value="HeartData对象", description="")
public class HeartData {

    /**
     * 心率值
     */
    @ApiModelProperty(value = "心率值",required = false)
    private Integer heartRate;

    /**
     * 心率测量时间，单位秒
     */
    @ApiModelProperty(value = "心率测量时间，单位秒",required = false)
    private Integer time;

    public Integer getHeartRate() {
        return heartRate;
    }

    public void setHeartRate(Integer heartRate) {
        this.heartRate = heartRate;
    }

    public Integer getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "HeartData{" +
                "heartRate=" + heartRate +
                ", time=" + time +
                '}';
    }

    public void setTime(Integer time) {
        this.time = time;
    }

}
